package com.srlg.webflux;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 *
 * spring boot 对于r2dbc的自动配置
 * R2dbcAutoConfiguration：主要配置连接工厂、连接池
 * R2dbcDataAutoConfiguration：配置模版、数据类型映射关系、转换器、自定义R2dbcCustomConversions转换器组件
 * R2dbcRepositoriesAutoConfigureRegistrar：开启spring data声明式接口方式的CRUD
 * R2dbcTransactionManagerAutoConfiguration：事物管理器配置
 *
 * @desc:
 * @author: srlg li
 * @date: 2024/1/7 15:06
 */
@SpringBootApplication
@EnableDiscoveryClient
public class WebfluxApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebfluxApplication.class, args);
    }
}
